// 统一管理所有的模块
import useCateGoryStore from "./modules/category";
import useHomeStore from "./modules/home";
import useGoodsStore from "./modules/goods";
import useUserStore from "./modules/user";
import useCartStore from './modules/cart'
import useCheckoutStore from "./modules/checkout";

const useStore = () => {
  return {
    category: useCateGoryStore(),
    home: useHomeStore(),
    goods: useGoodsStore(),
    user: useUserStore(),
    cart: useCartStore(),
    checkout: useCheckoutStore()
  }
}

export default useStore
